package com.jy.print.javaprint.pojo;


import java.io.Serializable;
import java.util.Date;

public class ProviderData implements Serializable {

    /**
     * 所有状态
     */
    public static final int REGISTER = 1;//已经登记，等待体检
    public static final int BODYCALL = 2;//体检中
    public static final int BODYPASS = 3;//体检完成，等待化检/等待采浆
    public static final int ASSAYCALL = 4;//化检中
    public static final int ASSAYPASS = 5;//化检完成，等待采浆
    public static final int ALLOTPASS = 6;//已经叫号分配，采浆中
    public static final int COLLECTSTART = 7;//开始采浆，采浆中
    public static final int COLLECTFINISH = 8;//采浆完成

    /**
     *
     */
    private static final long serialVersionUID = 1L;


    private long providerId;//浆员基本信息ID
    private String providerNo;//浆员卡号
    private String idNo;//浆员身份证
    private String name;//浆员姓名
    private String sex;//浆员性别
    private byte[] photo;//浆员建档照片


    private int regId;//浆员登记记录ID
    private String registerNo;//浆员登记号（201909090009）
    private int registerIdx;//浆员登记序号（9）
    private Date registerTime;//登记时间

    private long bodyCheckId;//体检记录ID
    private String bodyCheckNo;//浆员体检号
    private Date bodyCheckCallTime;//体检叫号时间
    private Date bodyCheckPassTime;//体检结束时间
    private boolean bodyIsPass;//体检是否通过
    private boolean needXp;//是否需要重新拍胸片

    private long assayId;//化检记录ID
    private boolean needAssay;//是否需要采浆前化检
    private Date assayCallTime;//小样采集时间
    private Date assayPassTime;//化检结束时间
    private boolean assayIsPass;//采浆前化检是否通过

    private boolean allotCall;//是否已经分配
    private Date allotTime;//分配时间

    private long collectId;//采浆记录ID
    private Date collectStartTime;//采浆开始时间
    private Date collectFinishTime;//采浆结束时间
    private String machineCode;//采浆机器号

    private boolean needXqdy;//是否需要血清电泳
    private String xqdyId;//血清电泳号

    private int currentStatus;//当前状态


    public ProviderData copyToOther(ProviderData providerData) {

        providerData.setProviderId(providerId);
        providerData.setProviderNo(providerNo);
        providerData.setIdNo(idNo);
        providerData.setName(name);
        providerData.setSex(sex);
        providerData.setPhoto(photo);

        providerData.setRegId(regId);
        providerData.setRegisterNo(registerNo);
        providerData.setRegisterIdx(registerIdx);
        providerData.setRegisterTime(registerTime);

        providerData.setBodyCheckId(bodyCheckId);
        providerData.setBodyCheckNo(bodyCheckNo);
        providerData.setBodyCheckCallTime(bodyCheckCallTime);
        providerData.setBodyCheckPassTime(bodyCheckPassTime);
        providerData.setBodyIsPass(bodyIsPass);
        providerData.setNeedXp(needXp);

        providerData.setAssayId(assayId);
        providerData.setAssayCallTime(assayCallTime);
        providerData.setAssayPassTime(assayPassTime);
        providerData.setAssayIsPass(assayIsPass);
        providerData.setNeedAssay(needAssay);


        providerData.setAllotCall(allotCall);
        providerData.setAllotTime(allotTime);

        providerData.setCollectId(collectId);
        providerData.setCollectStartTime(collectStartTime);
        providerData.setCollectFinishTime(collectFinishTime);
        providerData.setMachineCode(machineCode);

        providerData.setNeedXqdy(needXqdy);
        providerData.setXqdyId(xqdyId);

        providerData.setCurrentStatus(currentStatus);


        return providerData;
    }

    /**
     * @return Returns the providerId.
     */
    public long getProviderId() {
        return providerId;
    }

    /**
     * @param providerId The providerId to set.
     */
    public void setProviderId(long providerId) {
        this.providerId = providerId;
    }

    /**
     * @return Returns the providerNo.
     */
    public String getProviderNo() {
        return providerNo;
    }

    /**
     * @param providerNo The providerNo to set.
     */
    public void setProviderNo(String providerNo) {
        this.providerNo = providerNo;
    }

    /**
     * @return Returns the idNo.
     */
    public String getIdNo() {
        return idNo;
    }

    /**
     * @param idNo The idNo to set.
     */
    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }

    /**
     * @param name The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Returns the photo.
     */
    public byte[] getPhoto() {
        return photo;
    }

    /**
     * @param photo The photo to set.
     */
    public void setPhoto(byte[] photo) {
        this.photo = photo;
    }

    /**
     * @return Returns the regId.
     */
    public int getRegId() {
        return regId;
    }

    /**
     * @param regId The regId to set.
     */
    public void setRegId(int regId) {
        this.regId = regId;
    }

    /**
     * @return Returns the registerNo.
     */
    public String getRegisterNo() {
        return registerNo;
    }

    /**
     * @param registerNo The registerNo to set.
     */
    public void setRegisterNo(String registerNo) {
        this.registerNo = registerNo;
    }

    /**
     * @return Returns the registerIdx.
     */
    public int getRegisterIdx() {
        return registerIdx;
    }

    /**
     * @param registerIdx The registerIdx to set.
     */
    public void setRegisterIdx(int registerIdx) {
        this.registerIdx = registerIdx;
    }

    /**
     * @return Returns the registerTime.
     */
    public Date getRegisterTime() {
        return registerTime;
    }

    /**
     * @param registerTime The registerTime to set.
     */
    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    /**
     * @return Returns the bodyCheckId.
     */
    public long getBodyCheckId() {
        return bodyCheckId;
    }

    /**
     * @param bodyCheckId The bodyCheckId to set.
     */
    public void setBodyCheckId(long bodyCheckId) {
        this.bodyCheckId = bodyCheckId;
    }

    /**
     * @return Returns the bodyCheckNo.
     */
    public String getBodyCheckNo() {
        return bodyCheckNo;
    }

    /**
     * @param bodyCheckNo The bodyCheckNo to set.
     */
    public void setBodyCheckNo(String bodyCheckNo) {
        this.bodyCheckNo = bodyCheckNo;
    }

    /**
     * @return Returns the bodyCheckCallTime.
     */
    public Date getBodyCheckCallTime() {
        return bodyCheckCallTime;
    }

    /**
     * @param bodyCheckCallTime The bodyCheckCallTime to set.
     */
    public void setBodyCheckCallTime(Date bodyCheckCallTime) {
        this.bodyCheckCallTime = bodyCheckCallTime;
    }

    /**
     * @return Returns the bodyCheckPassTime.
     */
    public Date getBodyCheckPassTime() {
        return bodyCheckPassTime;
    }

    /**
     * @param bodyCheckPassTime The bodyCheckPassTime to set.
     */
    public void setBodyCheckPassTime(Date bodyCheckPassTime) {
        this.bodyCheckPassTime = bodyCheckPassTime;
    }

    /**
     * @return Returns the bodyIsPass.
     */
    public boolean isBodyIsPass() {
        return bodyIsPass;
    }

    /**
     * @param bodyIsPass The bodyIsPass to set.
     */
    public void setBodyIsPass(boolean bodyIsPass) {
        this.bodyIsPass = bodyIsPass;
    }

    /**
     * @return Returns the needXp.
     */
    public boolean isNeedXp() {
        return needXp;
    }

    /**
     * @param needXp The needXp to set.
     */
    public void setNeedXp(boolean needXp) {
        this.needXp = needXp;
    }

    /**
     * @return Returns the assayId.
     */
    public long getAssayId() {
        return assayId;
    }

    /**
     * @param assayId The assayId to set.
     */
    public void setAssayId(long assayId) {
        this.assayId = assayId;
    }

    /**
     * @return Returns the needAssay.
     */
    public boolean isNeedAssay() {
        return needAssay;
    }

    /**
     * @param needAssay The needAssay to set.
     */
    public void setNeedAssay(boolean needAssay) {
        this.needAssay = needAssay;
    }

    /**
     * @return Returns the assayCallTime.
     */
    public Date getAssayCallTime() {
        return assayCallTime;
    }

    /**
     * @param assayCallTime The assayCallTime to set.
     */
    public void setAssayCallTime(Date assayCallTime) {
        this.assayCallTime = assayCallTime;
    }

    /**
     * @return Returns the assayPassTime.
     */
    public Date getAssayPassTime() {
        return assayPassTime;
    }

    /**
     * @param assayPassTime The assayPassTime to set.
     */
    public void setAssayPassTime(Date assayPassTime) {
        this.assayPassTime = assayPassTime;
    }

    /**
     * @return Returns the assayIsPass.
     */
    public boolean isAssayIsPass() {
        return assayIsPass;
    }

    /**
     * @param assayIsPass The assayIsPass to set.
     */
    public void setAssayIsPass(boolean assayIsPass) {
        this.assayIsPass = assayIsPass;
    }

    /**
     * @return Returns the allotCall.
     */
    public boolean isAllotCall() {
        return allotCall;
    }

    /**
     * @param allotCall The allotCall to set.
     */
    public void setAllotCall(boolean allotCall) {
        this.allotCall = allotCall;
    }

    /**
     * @return Returns the allotTime.
     */
    public Date getAllotTime() {
        return allotTime;
    }

    /**
     * @param allotTime The allotTime to set.
     */
    public void setAllotTime(Date allotTime) {
        this.allotTime = allotTime;
    }

    /**
     * @return Returns the collectId.
     */
    public long getCollectId() {
        return collectId;
    }

    /**
     * @param collectId The collectId to set.
     */
    public void setCollectId(long collectId) {
        this.collectId = collectId;
    }

    /**
     * @return Returns the collectStartTime.
     */
    public Date getCollectStartTime() {
        return collectStartTime;
    }

    /**
     * @param collectStartTime The collectStartTime to set.
     */
    public void setCollectStartTime(Date collectStartTime) {
        this.collectStartTime = collectStartTime;
    }

    /**
     * @return Returns the collectFinishTime.
     */
    public Date getCollectFinishTime() {
        return collectFinishTime;
    }

    /**
     * @param collectFinishTime The collectFinishTime to set.
     */
    public void setCollectFinishTime(Date collectFinishTime) {
        this.collectFinishTime = collectFinishTime;
    }

    /**
     * @return Returns the machineCode.
     */
    public String getMachineCode() {
        return machineCode;
    }

    /**
     * @param machineCode The machineCode to set.
     */
    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }

    /**
     * @return Returns the needXqdy.
     */
    public boolean isNeedXqdy() {
        return needXqdy;
    }

    /**
     * @param needXqdy The needXqdy to set.
     */
    public void setNeedXqdy(boolean needXqdy) {
        this.needXqdy = needXqdy;
    }

    /**
     * @return Returns the xqdyId.
     */
    public String getXqdyId() {
        return xqdyId;
    }

    /**
     * @param xqdyId The xqdyId to set.
     */
    public void setXqdyId(String xqdyId) {
        this.xqdyId = xqdyId;
    }

    /**
     * @return Returns the currentStatus.
     */
    public int getCurrentStatus() {
        return currentStatus;
    }

    /**
     * @param currentStatus The currentStatus to set.
     */
    public void setCurrentStatus(int currentStatus) {
        this.currentStatus = currentStatus;
    }

    /**
     * @return Returns the sex.
     */
    public String getSex() {
        return sex;
    }

    /**
     * @param sex The sex to set.
     */
    public void setSex(String sex) {
        this.sex = sex;
    }


}